home *** CD-ROM | disk | FTP | other *** search
Wrap
setMinutes method Syntax dateObj.setMinutes(minutes) where dateObj is a date object. Description Sets the minutes in the current time. The argument is an integer between 0 and 59. Applies to Date Examples theBigDay.setMinutes(45) See also xxx To be supplied. ------------------------------------------------------------------------ setMonth method Syntax dateObj.setMonth(month) where dateObj is a date object. Description Sets the month in the current date. The argument is an integer between 0 and 11. Applies to Date Examples theBigDay.setMonth(6) See also xxx To be supplied. ------------------------------------------------------------------------ setSeconds method Syntax dateObj.setSeconds(seconds) where dateObj is a date object. Description Sets the seconds in the current time. The argument is an integer between 0 and 59. Applies to Date Examples theBigDay.setSeconds(30) See also xxx To be supplied. ------------------------------------------------------------------------ setTime method Syntax dateObj.setTime(timevalue) where dateObj is a date object. Description Sets the value of the date object. This argument is the number of milliseconds since the epoch (1 January 1970 00:00:00) You can use this method to help assign a date and time to another date object. Applies to Date Examples theBigDay = new Date("July 1, 1999") sameAsBigDay = new Date(); sameAsBigDay.setTime(theBigDay.getTime()) ------------------------------------------------------------------------ setTimeout method Evaluates an expression after a specified number of milliseconds have elapsed. Syntax timeoutID=setTimeout(expression, msec) expression is a string expression. msec is a numeric value or numeric string in millisecond units. timeoutID is an identifier that is used only to cancel the evaluation with the clearTimeout method. Description xxx Description to be supplied. Applies to window Examples xxx Examples to be supplied. See also clearTimeout ------------------------------------------------------------------------ setYear method Syntax dateObj.setYear(year) where dateObj is a date object. Description Sets the year in the current date. Takes as its argument an integer greater than 1900. Applies to Date Examples theBigDay.setYear(96) See also xxx To be supplied. ------------------------------------------------------------------------ sin method Returns the sine of its argument. The argument is in radians. Syntax sin(arg) Applies to Math Examples xxx Examples to be supplied. See also acos, asin, atan, cos, tan methods ------------------------------------------------------------------------ small method Causes the calling string object to be displayed in small font by surrounding it with HTML small font tags, <SMALL>..<SMALL> Syntax small() Description xxx Description to be supplied. Applies to string Examples xxx Examples to be supplied. See also big, fontsize methods ------------------------------------------------------------------------ sqrt method Returns the square root of its argument. Syntax sqrt(arg) Applies to Math Examples xxx Examples to be supplied. See also pow method ------------------------------------------------------------------------ strike method Causes the calling string object to be displayed as struck out text, by surrounding it with HTML strikeout tags, <STRIKE>... <STRIKE> Syntax strike() Description xxx Description to be supplied. Applies to string Examples xxx Examples to be supplied. See also blink, bold, italics methods ------------------------------------------------------------------------ sub method Causes the calling string object to be displayed as a subscript by surrounding it with HTML subscript tags, <SUB>... <SUB> Syntax sub() Description xxx Description to be supplied. Applies to string Examples xxx Examples to be supplied. sup method ------------------------------------------------------------------------ submit method Submits the form. Syntax submit() Description xxx Description to be supplied. Applies to form Examples xxx Examples to be supplied. ------------------------------------------------------------------------ substring method The substring method returns a subset of a string object. If a <b, then it returns the subset starting at character a and ending before character b, considering the first character of the string to be character zero (0). If a >b, then it returns the subset starting at character b and ending at character a. If a = b, then it returns the empty string. Syntax substring(a, b) Description xxx Description to be supplied. Applies to string Examples If string x is "netscape"then x.substring(0,3) or x.substring(3,0) returns "net" and x.substring(4,7) or x.substring(7,4) returns "cap" ------------------------------------------------------------------------